package com.dmgis.hndz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dmgis.hndz.pojo.*;
import com.dmgis.hndz.pojoVo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DynamicWarningMapper extends BaseMapper<Zhaa11A> {


    List<LocationAndCode> queryLocationAndCode();

//    List<Qxba01AVo> queryThreeDayWeatherForecast(@Param("cityName") String cityName,
//                                                 @Param("countyName") String countyName,
//                                                 @Param("todayTime") String todayTime,
//                                                  @Param("areaCode") String areaCode);

    List<Qxba01AVo> queryThreeDayWeatherForecast2(@Param("cityName") String cityName,
                                                  @Param("countyName") String countyName,
                                                  @Param("todayTime") String todayTime,
                                                  @Param("sc") String sc,
                                                  @Param("ntimes") String ntimes);

    List<WaringType> queryWarningReleaseStatisticsYear(@Param("time") String time,
                                                       @Param("ybba01b020") String ybba01b020);

    List<WaringType> queryWarningReleaseStatisticsMonth(@Param("time") String time,
                                                        @Param("ybba01b020") String ybba01b020);

    List<LatestMonitoring> queryLatestMonitoring(@Param("time") String time);

    List<ForecastMonitoring> queryforecastMonitoring(@Param("time") String time);


    List<CityCountyCountFallingWaterVo> queryCityCountyCountFallingWater(@Param("name") String name,
                                                                         @Param("startTime") String startTime,
                                                                         @Param("endTime") String endTime
    );

    List<StationNumByLevel> queryStationNumByLevel(@Param("name") String name,
                                                   @Param("startTime") String startTime,
                                                   @Param("endTime") String endTime);

    MaxFallWaterAndStationAndId queryMaxFallingWaterCodeAndName(@Param("name") String name,
                                                                @Param("startTime") String startTime,
                                                                @Param("endTime") String endTime);

    List<IntegetAndTimeVo> queryFallingWaterGrowingByTimeAndStationCode(@Param("startTime") String startTime,
                                                                        @Param("endTime") String endTime,
                                                                        @Param("stationCode") String stationCode);

    List<Qxaa01a> queryQxaa01a(@Param("name") String name,
                               @Param("startTime") String startTime,
                               @Param("endTime") String endTime,
                               @Param("isCounty") String isCounty,
                               @Param("cityName") String cityName
    );

    String queryTimeBysk_time(@Param("ggcf01a020") String ggcf01a020);

    List<Qxab02b> queryRadarChat(@Param("startTime") String startTime,
                                 @Param("endTime") String endTime);

    List<Qxab03a> queryCloudChat(@Param("startTime") String startTime,
                                 @Param("endTime") String endTime);

    List<Qxbb01a> queryServiceProduct(@Param("wordType") String wordType,
                                      @Param("startTime") String startTime,
                                      @Param("endTime") String endTime);

    List<Ybba01D> queryYbba01D(String hourtype);

    DynamicWaringShortVo queryTodayProvinceShortWaring(@Param("time") String time);

    List<TwoStringVo> queryTodayProvinceMidShortWaring(@Param("time") String time);


    List<LatestMonitoring> queryLatestMonitoringInfo(@Param("jkba01a100") String jkba01a100,
                                                     @Param("jkba01a050") String jkba01a050,
                                                     @Param("jkba01a080") String jkba01a080,
                                                     @Param("endTime") String endTime
    );

    List<WaringStatistics> queryWaringStatisticsAnalysis(@Param("startTime") String startTime, @Param("endTime") String endTime);

    List<Qxba01AVo> queryThreeDayWeatherForecast(@Param("cityName") String cityName,
                                                 @Param("countyName") String countyName,
                                                 @Param("todayTime") String todayTime,
                                                 @Param("areaCode") String areaCode);
}
